<# # It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Endpoint Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description: Script is designed To Fetch the Virtual processors count # Configuration Type - COMPUTER #> # Get the virtual processor count $virtualProcessorCount = (Get-WmiObject -Class Win32_ComputerSystem).NumberOfLogicalProcessors # Output the result Write-Host "Virtual Processor Count: $virtualProcessorCount"